package cn.moukou.tongji.ihealth.doctor.service;

import cn.moukou.tongji.ihealth.doctor.dao.DoctorScheduleMapper;
import cn.moukou.tongji.ihealth.doctor.pojo.DoctorSchedule;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.sql.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service
public class DoctorScheduleService {

    @Autowired
    DoctorScheduleMapper doctorScheduleMapper;

    public List<DoctorSchedule> getMyWorkDay(String did) {

        Map<String, Object> map = new HashMap<>();
        map.put("did", did);
        return doctorScheduleMapper.selectByMap(map);
    }

}
